package com.qf.hospital.service;

import com.github.pagehelper.PageInfo;
import com.qf.hospital.entity.SysMenu;

import java.util.List;

/**
 * @author Administrator
 * @version V1.0
 * @Project hospital
 * @Package com.qf.hospital.service
 * @Description: ${TODO}
 * @Date 2021/10/19 11:03
 */
public interface SysMenuService {
    List<SysMenu> findAll();

    PageInfo<SysMenu> findByTitle(String title, Integer page, Integer limit);


    Integer findParentId(Integer id);

    void deleteById(Integer id);


    void addMenu(SysMenu menu);

    void updateMenu(SysMenu sysMenu);
}
